package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.domain.User;

import java.util.List;
import com.example.mybatisplus.model.domain.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhang
 * @since 2021-07-05
 */
public interface AdminService extends IService<Admin> {

    String register(Admin admin);

    Admin login(String username, String password);

    Integer adminAddUser(User user);

    List<User> select(String userName);

    Integer adminEditUser(User user);
}
